import { E_HTTP_METHODS, IURL } from '../transfer-typing'

export interface IUserURL {
  getUserInfo: IURL
  updateUserInfo: IURL
}

export function createUserURL(): IUserURL {
  return {
    getUserInfo: {
      url: 'courseserver/api/getUser',
      method: E_HTTP_METHODS.POST
    },
    updateUserInfo: {
      url: 'courseserver/api/updateUser',
      method: E_HTTP_METHODS.POST
    }
  }
}
